<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>区-镇(社区)管理</title>
    <link rel="stylesheet" href="css/table1.css">
    <link rel="stylesheet" href="css/mulu.css">
    <link rel="stylesheet" href="css/element.css">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/0_common/bootstrap-table.css">
    <script src="css/jquery.min.js"></script>
    <script src="css/vue.js"></script>
    <script src="css/element.js"></script>
    <script src="js/table.js"></script>
    <script src="js/0_common/bootstrap.min.js"></script>
    <script src="js/0_common/bootstrap-table.js"></script>
    <script src="js/constants.js"></script>
    <script src="js/YZidCard.js"></script>

</head>
<body>
<div style="">
        <div class="dqy" ><span>当前页：统计分析</span></div>
        <div id="b1" style="width: 120px;height: 35px;background: white;;position: absolute;top:40px;left: 25px;padding-top: 5px;" onclick="f1()">
            <span style="text-align: center;font-weight: bold;font-size: 13px;" >&nbsp;&nbsp;社区、街(镇)统计</span></div>
        <div id="b2" style="width: 120px;height: 35px;background: white;position: absolute;top:40px;left: 145px;padding-top: 5px;" onclick="f2()">
            <span style="font-size: 13px;font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;疫区人员统计</span></div>

        <div id="d1"style="margin-top: 10px;position: absolute;top: 73px;left:25px;">
            <img src="img/ana1.jpg">
        </div>
        <div id="d2" style="margin-top: 10px;position: absolute;top: 73px;left:25px;">
            <img src="img/ana2.jpg">
        </div>
</div>
</body>
<script>
    function f1() {
        var v1=document.getElementById("d1");
        v1.style.display="none";

        var v2=document.getElementById("d2");
        v2.style.display="block";
        var v3=document.getElementById("b1");
        v3.style.backgroundColor="lightgray";
        var v4=document.getElementById("b2");
        v4.style.backgroundColor="white";

    }
    function f2() {
        var v1=document.getElementById("d1");
        v1.style.display="block";
        var v2=document.getElementById("d2");
        v2.style.display="none";
        var v3=document.getElementById("b1");
        v3.style.backgroundColor="white";
        var v4=document.getElementById("b2");
        v4.style.backgroundColor="lightgray";
    }
</script>

</html>